package org.zfes.snowier.cloud.zbss.cms.words.dao;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.cms.words.model.CmsWordsHot;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CmsWordsHotMapper extends BaseMapper<CmsWordsHot>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<CmsWordsHot> selectModelListPage(ParamMap params);
	
	//查看某热词是否存在
	CmsWordsHot selectByWords(String words);
	
	//加载某站点热词列表
	 List<CmsWordsHot> loadCmsWordsHotBySiteId(Long sideId);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status,@Param("updateTime") Date updateTime);
}
